.group-container {
  overflow: hidden;
  .group-title {
    font-size: 16px;
    color: #33353b;
    font-weight: 600;
    height: 60px;
    line-height: 60px;
    border-bottom: 1px solid #e8ebf2;
    padding-left: 18px;
    margin-bottom: 20px;
  }
  .custom-tree-node {
    color: #33353b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    overflow: hidden;
    img {
      width: 18px;
      height: 18px;
    }

    &-item {
      display: flex;
      align-items: center;
      flex: 1;
      overflow: hidden;
    }

    .node-name {
      overflow: hidden;
      white-space: nowrap;
      /*文字超出宽度则显示ellipsis省略号*/
      text-overflow: ellipsis;
      flex: 1;
    }
    .el-dropdown {
      float: right;
      margin-right: 10px;
      margin-top: 4px;
    }
  }
}

/* 插件样式重置 */
.el-tree-node__content {
  height: 36px;
}

.el-tree-node:focus > .el-tree-node__content {
  background-color: #f0f6ff;

  .custom-tree-node {
    color: #3c6eff;
  }
}

.el-tree-node .el-input__inner {
  height: 32px;
  line-height: 32px;
}

.theme-dropdown {
  .el-dropdown-menu__item:hover {
    background: #f6f8fc;
  }
}

.tree-drawer {
  display: flex;
  flex-direction: column;
  height: 100%;

  .drawer-body {
    flex-grow: 1;
    border-top: 1px solid var(--color-page-border-shallow);
    padding-top: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 21px;

    .add-form-input {
      width: 220px;
    }
  }

  .drawer-footer {
    height: 60px;
    line-height: 60px;
    text-align: right;
    padding-right: 18px;
    border-top: 1px solid var(--color-page-border-shallow);
  }
}
